<script>
	import Vue from 'vue'
	export default {
		onReady() {
			uni.getSystemInfo({
				success: function(info) {
					let iStatusBarHeight = Number(info.statusBarHeight) || 0;
					Vue.prototype.statusBarHeight = iStatusBarHeight;
					uni.setStorageSync('stausBarHeight', iStatusBarHeight);
				}
			});
			// #ifdef MP-WEIXIN
			/*获取右上角胶囊信息->微信小程序、支付宝小程序、百度小程序、抖音小程序、QQ小程序  */ 
			let ClientRect = uni.getMenuButtonBoundingClientRect();
			Vue.prototype.$statustop = Number(ClientRect.top);
			Vue.prototype.$statusheight = Number(ClientRect.height);
			console.log(ClientRect)
			uni.setStorageSync('clientRect',ClientRect);
			// #endif
		},
	}
</script>

<style lang="scss">
	@import './public/public.css';
	@import "@/uni_modules/uview-ui/index.scss";
	page {
		font-family:PingFang, -apple-system, Helvetica, sans-serif;
		background-color:#F4F4F4;
		font-size: 28rpx;
	}
	i {
		font-style: normal;
	}
	.no_record {
		width: 382rpx;
		display: block;
		margin: 40rpx auto 0rpx;
		@include cssimg;
	}
</style>